package com.zzl.springboot.mapper;

import com.zzl.springboot.entity.UserVol;
import com.zzl.springboot.entity.UserVolExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserVolMapper {
    long countByExample(UserVolExample example);

    int deleteByExample(UserVolExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserVol record);

    int insertSelective(UserVol record);

    List<UserVol> selectByExample(UserVolExample example);

    UserVol selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserVol record, @Param("example") UserVolExample example);

    int updateByExample(@Param("record") UserVol record, @Param("example") UserVolExample example);

    int updateByPrimaryKeySelective(UserVol record);

    int updateByPrimaryKey(UserVol record);

    List<UserVol> selectByUserId(Integer id);

    Integer updateByVolId(Integer id);

    Integer updateUserVolState(Integer id);
}